projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f0bd4
)
(uniscribe_encode_char): Ensure context is restored before returning.
author
Jason Rumney
<jasonr@gnu.org>
Sun, 23 Nov 2008 15:06:44 +0000
(15:06 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sun, 23 Nov 2008 15:06:44 +0000
(15:06 +0000)
src/w32uniscribe.c
patch
|
blob
|
history
diff --git
a/src/w32uniscribe.c
b/src/w32uniscribe.c
index ce2dd1663131cdb2bbc8204c9049cecf4d8fb8fd..2522430224756bf5e3bb044e68479eb55192b00a 100644
(file)
--- a/
src/w32uniscribe.c
+++ b/
src/w32uniscribe.c
@@
-524,9
+524,9
@@
uniscribe_encode_char (font, c)
result = ScriptGetCMap (context, &(uniscribe_font->cache),
ch, len, 0, glyphs);
if (SUCCEEDED (result))
-
return
glyphs[0];
+
code =
glyphs[0];
else
-
return
0; /* notdef - enough in some cases to get the script
+
code =
0; /* notdef - enough in some cases to get the script
engine working, but not others... */
}
}